@echo off
IF EXIST .venv (
    echo Activating virtual environment...
    .venv\Scripts\activate
) ELSE (
    echo Creating and activating virtual environment...
    python -m venv .venv
    .venv\Scripts\activate
)

echo Installing dependencies...
pip install -r requirements.txt

echo Starting main.py...
python main.py